package edu.suda.basic.mail.usingPOP3;

import javax.mail.*;
public class MailAuthenticator extends Authenticator
{
    public static String HUAWEI_MAIL_USER = "summerpulse2012@sina.com";
    public static String HUAWEI_MAIL_PASSWORD = "20066768";
    public MailAuthenticator()
    {
    }
    protected PasswordAuthentication getPasswordAuthentication()
    {
        return new PasswordAuthentication(HUAWEI_MAIL_USER, HUAWEI_MAIL_PASSWORD);
    }
}
